home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / admin / xinetd.2 / xinetd / xinetd.2.1.7-linux.4 / libs / src / xlog / slog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-25  |  616 b   |  31 lines

  1. /*
  2.  * (c) Copyright 1992, 1993 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7.  
  8. /*
  9.  * $Id: slog.h,v 2.1 1993/05/06 07:39:39 panos Exp $
  10.  */
  11.  
  12.  
  13. struct syslog
  14. {
  15.     int sl_facility ;
  16.     int sl_default_level ;
  17. } ;
  18.  
  19.  
  20. struct syslog_parms
  21. {
  22.    int         slp_n_xlogs ;              /* # of xlogs using syslog */
  23.    int         slp_logopts ;              /* used at openlog */
  24.    int         slp_facility ;
  25.    char        *slp_ident ;                    /* used at openlog */
  26.     bool_int slp_ident_is_malloced ;
  27. } ;
  28.  
  29. #define SYSLOG( xp )         ((struct syslog *)xp->xl_data)
  30.  
  31.